package com.ruoyi.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.exam.domain.ExamQuestionCategory;
import com.ruoyi.exam.vo.ExamQuestionCategoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题库分类Mapper接口
 *
 * @author Tellsea
 * @date 2025-05-30
 */
public interface ExamQuestionCategoryMapper extends BaseMapper<ExamQuestionCategory> {

    Page<ExamQuestionCategoryVo> queryList(Page<?> page, @Param("entity") ExamQuestionCategoryVo entity);

    List<ExamQuestionCategoryVo> queryList(@Param("entity") ExamQuestionCategoryVo entity);

    ExamQuestionCategoryVo queryById(@Param("id") Long categoryId);

}
